<?php $this->load->view(TEMPLATE_NAME.'/admin/header');?>
<?php $this->load->view(TEMPLATE_NAME.'/admin/side_left');?>
<script type="text/javascript" src="<?php echo base_url()?>js/jquery-1.4.2.js"></script>
<div class="page noright adminpage adminuser">
    
      <?php $this->load->view(TEMPLATE_NAME.'/admin/profile/profile_tabs');?>
    <h2 class="no">Your Network/s</h2>
    <p class="black f13"><strong><!--Networks that you have joined-->Below are a list of Networks that you have joined</strong><br />
    <!--You can manage your networks in this area. Join or leave networks.-->
    You can use this section of the website to join more networks or leave networks you are a member of.</p>
    <hr />
    <form class="formstep formp"> 
    <p class="nop">Network/s you are a member of:</p>   
    <?php if($network_data){
    foreach($network_data as $key=>$row){?>
        <p><strong><?php echo $row["name"]?></strong> <span class="pright"><a href="<?php echo site_url('admin/profile/leave_network/'.$row['id']); ?>">Leave Network </a> | 
        <a href="<?php echo site_url('network/'.$row['slug_name']); ?>">Go to Network </a></span></p>
    <?php }
    }else{?>
    <p><strong>No networks joined at this time</strong></p>
    <?php } ?>
    <br />
    <h3 class="f18">Join a Network: <a href="<?php echo site_url('network/find_network'); ?>">Click here to find a Network...</a></h3>     
    <hr/>
    </form>

    <div class="clear"></div>    
</div><!-- page -->
<?php $this->load->view(TEMPLATE_NAME.'/admin/footer');?>
